package structurePattern.decoratorPattern;

public class HeatCup implements Cup {

	private Cup temCup;

	public HeatCup(Cup temCup) {
		super();
		this.temCup = temCup;
	}

	@Override
	public void storeWater() {
		temCup.storeWater();
	}

	public void heatWater() {
		System.out.println("My cup can heat water!");
	}

}
